package com.foreveredu.propms.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Description:<br/>
 * 领域模型：房产来源类，定义房产来源，包括商品房/还建房/经济适用房<br/>
 * Date:<br/>
 * 2013/6/6<br/>
 * 
 * @author hushigang
 */

@Entity
@Table(name = "T_HouseSource")
public class HouseSource {

	private int id;// 编号
	private String name;// 房产来源名称

	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	@Column
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
}
